package com.mxq.eclipse.mqtt.demo.subscribe.service;


import com.mxq.eclipse.mqtt.demo.subscribe.MqttSubscribeDto;

/**
 * @author xiaoqiang
 * @date 2020-05-09 15:54
 */
public interface MqttSubscribeService {

    /**
     * 订阅消息
     *
     * @param mqttSubscribeDto 订阅主题实体
     * @return
     */
    Boolean subscribe(MqttSubscribeDto mqttSubscribeDto);
}
